#include<stdio.h>
int main()
{	
	int a,n;long int S,term;
	scanf("%d",&a);
	scanf("%d",&n);
	term=a;S=a;
	for(int i=1;i<n;i++)
	{
		if(i==1)
		{
			printf("%ld",S);
			i!=n-1?printf("+"):printf("=");
		}
		
		term=term*10+a;
		S+=term;
		printf("%ld",term);
		i!=n-1?printf("+"):printf("=");
		
	} 
	printf("%ld",S);
	
}

